package com.service.impl;

import com.mapper.InternalMessageMapper;
import com.service.InternalMessageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 站内信与邮件通知 Service 实现类
 * </p>
 * @author 34448
 */
@Service
public class InternalMessageServiceImpl implements InternalMessageService {

    @Autowired
    private InternalMessageMapper internalMessageMapper;

    @Override
    public Integer countUnreadInternalMessages() {
        return internalMessageMapper.countUnreadInternalMessages();
    }
}